//
//  JiaoYiMMListTableViewCell.m
//  DBAChain
//
//  Created by Evan on 2018/9/7.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "JiaoYiMMListTableViewCell.h"

@implementation JiaoYiMMListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}


- (IBAction)txtNumberChange:(UITextField *)sender {
    if ([sender.text floatValue] < 1) {
        [DKProgressHUD showErrorWithStatus:@"请输入大于0的数量"];
        return;
    }
    self.labelOrderAmount.text= [NSString stringWithFormat:@"总计：%.2f",([self.txtNumber.text floatValue] * [self.txtPrice.text floatValue])];
}



@end
